(C) 1996 AROS - The Amiga Replacement OS


NAME
LONG SPCosh()
SYNOPSIS

LONG fnum1

LOCATION
In MathTransBase at offset 11
FUNCTION
Calculate the hyperbolic cosine of the ffp number

INPUTS
fnum
Motorola fast floating point number
RESULT
Motorola fast floating point number

flags: zero : result is zero negative : 0 (not possible) overflow : result too big for ffp-number

NOTES
EXAMPLE
BUGS
SEE ALSO
INTERNALS
cosh(x) = (1/2)*( e^x + e^(-x) )

cosh( |x| >= 44 ) = infinity; cosh( |x| >= 9 ) = (1/2) * (e^x);

HISTORY
21.07.1997 bergers
*** empty log message ***